{extend name="iframe" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
        <form action="{:request()->url()}" class="layui-form" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">* 姓名</label>
                <div class="layui-input-block">
                    <input type="text" name="user_name" value="{$data.user_name|default=''}" autocomplete="off" placeholder="请输入姓名" lay-verify="required" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">* 机构</label>
                <div class="layui-input-block">
                    <input type="text" name="institute" value="{$data.institute|default=''}" autocomplete="off" placeholder="请输入机构" lay-verify="required" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">* 职称</label>
                <div class="layui-input-block">
                    <input type="text" name="job_title" value="{$data.job_title|default=''}" autocomplete="off" placeholder="请输入职称" lay-verify="required" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">学科</label>
                <div class="layui-input-block">
                    <input type="text" name="subject" value="{$data.subject|default=''}" autocomplete="off" placeholder="请输入学科" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">科研方向</label>
                <div class="layui-input-block">
                    <textarea name="research_direction" autocomplete="off" placeholder="请输入科研方向" class="layui-textarea">{$data.research_direction|default=''}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">个人简介</label>
                <div class="layui-input-block">
                    <textarea name="user_detail" autocomplete="off" placeholder="请输入个人简介" class="layui-textarea">{$data.user_detail|default=''}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">邮箱</label>
                <div class="layui-input-block">
                    <input type="text" name="email" value="{$data.email|default=''}" autocomplete="off" placeholder="请输入邮箱" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">手机号</label>
                <div class="layui-input-block">
                    <input type="text" name="phone" value="{$data.phone|default=''}" autocomplete="off" placeholder="请输入手机号" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">联系地址</label>
                <div class="layui-input-block">
                    <input type="text" name="address" value="{$data.address|default=''}" autocomplete="off" placeholder="请输入联系地址" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-filter="i" lay-submit="">保存</button>
                    <button class="layui-btn layui-btn-primary" type="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}
{block name="js"}
    <script>
        laydate.render({
            elem: '#entrant_time',
            type: 'datetime'
        })
    </script>
{/block}
